package com.max.xihu.patterns.responsible.validator;

import java.util.Map;

/**
 * @Author: Max
 * @Date: 2020-09-20 14:51
 * @Description:规则校验器
 */
public class RuleValidator extends BaseValidator {

    private Object rule;//标准规则


    @Override
    public boolean check(Map<String, Object> form) {
        Object object = form.get("ruleData");//表单规则
        //规则校验
        return checkNext(form);
    }
}
